<?php declare(strict_types=1);
/**
 * @author      xianganyall <xianganyall@gmail.com>
 * @copyright   2023-2025 owner
 **/

namespace Srv\Apps\Apis\Common\DefCtl;

final class DefWeb3CategoryCtl extends DefAbstract
{
    private const TABLE_NAME                = 'def_web3_category';
    private const FIELD_ID                  = 'dwbc_id';
    private const FIELD_KEY                 = 'dwbc_key';
    public const KEY_WEB3_BIND_CODE         = 'web3_bind_code';         // 绑定WEB3
    public const KEY_WEB3_RESET_PASSWORD    = 'web3_reset_password';    // 重置密码
    public const KEY_WEB3_FORGET_PASSWORD   = 'web3_forget_password';   // 忘记密码
    public const KEY_WEB3_REG_CODE          = 'web3_reg_code';          // 注册登入验证码

    /**
     * @return static
     * tag
     */
    public static function tag():self
    {
        return parent::tag()->config(self::TABLE_NAME, self::FIELD_ID, self::FIELD_KEY);
    }
}